- content_for(:panel_heading) do
  = "项目列表"
  
%table.table.table-bordered
  %thead
    %tr
      %th 项目名
      %th{:colspan => "2"} 接口
      %th web
      %th{:colspan => "2"} 操作
  %tbody
    - @projects.each do |project|
      %tr
        %td= project.name
        %td= link_to 'APIv1', project
        %td= link_to 'APIv2', set_settings_v2_project_path(project)
        %td= link_to 'web', project_web_path(project)
        %td= link_to '编辑', edit_project_path(project)
        %td= link_to '删除', project, method: :delete, data: { confirm: '确定删除?' }

